<style>
/* password validate*/
#tips{float: left;margin: 2px 0 0 0px;}
#tips span{float: left;width: 37px;height: 20px;color: #fff;overflow: hidden;background: #ccc;margin-right: 2px;line-height: 20px;text-align: center;}
#tips.s1 .active{background: #f30;}
#tips.s2 .active{background: #fc0;}
#tips.s3 .active{background: #cc0;}
#tips.s4 .active{background: #090;}
</style>
<div class="pageContent">	
	<form method="post" action="<?php echo Yii::app()->createUrl('admin/SetPasswd');?>" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<div class="pageFormContent" layoutH="58">

			<div class="unit">
				<label>原密码：</label>
				<input type="password" name="dataForm[user_old_pwd]" class="required password" style="width:150px" value="" errormsg="请输入原密码"/>
			</div>
			<div class="unit">
				<label>新密码：</label>
				<input type="password" name="dataForm[user_new_pwd]" id="user_new_pwd" style="width:150px"  minlength="6" class="required password" value="" errormsg="请输入新密码"/>
			</div>
			<div class="unit">
				<label>&nbsp;&nbsp;&nbsp;</label>
				<div id="tips">
					<span></span><span></span><span></span><span></span>
				</div>
			</div>
			<div class="unit">
				<label>确认密码：</label>
				<input type="password" name="dataForm[user_confirm_pwd]" equalto="#user_new_pwd" style="width:150px"  class="required password" value="" errormsg="请输入确认密码"/>
			</div>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
	
</div>
<script type="text/javascript">
$(document).ready(function () {
    pageLoad();
});
</script>